﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="WsdlDiscovery.aspx.cs" Inherits="WebApplication1._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        WsdlDiscovery Testing Page</h2>
    <p>
        <strong>Description:</strong> Searches Bing on a given string for the top ten results and then 
        scrapes those results for web services described in WSDL (i.e., ending in 
        &quot;.wsdl&quot; or &quot;?wsdl&quot;).</p>
    <p>
        <strong>Service URL: </strong>
        <a href="http://vlab.asu.edu:21199/Services/WsdlDiscovery/Service1.svc">
        http://vlab.asu.edu:21199/Services/WsdlDiscovery/Service1.svc</a></p>
    <p>
        <strong>WSDL file:</strong> 
        <a href="http://vlab.asu.edu:21199/Services/WsdlDiscovery/Service1.svc?wsdl">
        http://vlab.asu.edu:21199/Services/WsdlDiscovery/Service1.svc?wsdl</a></p>
    <p>
        <strong>Method names:</strong></p>
    <table class="style1" border="2">
        <tr>
            <td>
                <strong>Method Name</strong></td>
            <td>
                <strong>Signature</strong></td>
            <td>
                <strong>Return Type</strong></td>
            <td>
                <strong>Parameters</strong></td>
        </tr>
        <tr>
            <td>
                GetWsdlSearchResponse</td>
            <td>
                string[] GetWsdlSearchResponse(string str)</td>
            <td>
                an array of strings, each containing a WSDL resource</td>
            <td>
                a string of one or more search terms, entered as you would at Bing&#39;s web site</td>
        </tr>
    </table>
    <p>
        <strong>Service test:</strong></p>
<p>
        Let your good friends at Bing find you a match for WSDL resources.
        Recommended search terms: &quot;.wsdl&quot;, &quot;.php?wsdl&quot;, &quot;.svc?wsdl&quot;, &quot;.asmx?wsdl&quot;. 
        Sadly, Bing will ignore your punctuation and provide lousy search results, so 
        don&#39;t bother with the quotation marks. But hey... Bing!</p>
    <p>
        The search will return all possible WSDL addresses found 
        in your Bing search, even if it&#39;s not the WSDL implementation type you&#39;re 
        explicitly searching. For example, a search of &quot;.asmx?wsdl&quot; will not be limited 
        to .asmx?wsdl addresses.</p>
    <p>
        &nbsp;<asp:TextBox ID="TextBox3" runat="server" Width="327px"></asp:TextBox>
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
            Text="Bing Look!" />
    </p>
<p>
        <asp:TextBox ID="TextBox2" runat="server" Height="89px" TextMode="MultiLine" 
            Width="590px"></asp:TextBox>
    </p>

</asp:Content>
